package com.lxf.project;

import com.lxf.project.inteface.IHelloWorld;
import com.lxf.project.inteface.entity.Student;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService
public class HelloServiceImpl  implements IHelloWorld {
    @Override
    public String sayHello(String name) {
        System.out.println("hello:dubboAnnotation  :" + name );
        return "name";
    }

    @Override
    public void addStudent(Student student) {
        System.out.println(student.toString());
    }
}
